package com.reider.log4AS3.utils
{
	import flash.utils.getDefinitionByName;
	
	/**
	 * @private
	 */
	public class LogUtils
	{
		public static function getDef(name:String):Class
		{
			var def:*
			try{
				def = getDefinitionByName(name)
			}catch(e:*){
				return null
			}
			
			return Class(def)
		}
		
		public static function writeError(message:String):void
		{
			trace("::: LOG4AS3 XML PARSE ERROR ::: "+message)
		}
	}
}